home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri K-CD 2002 #1 / K-CD_2002-01.iso / Delphi / INSTALL / program files / Borland / Delphi6 / Source / Rtl / Sys / SysConst.pas
Encoding:
Pascal/Delphi Source File  |  2001-05-22  |  7.1 KB  |  170 lines

  1. { *********************************************************************** }
  2. {                                                                         }
  3. { Delphi / Kylix Cross-Platform Runtime Library                           }
  4. {                                                                         }
  5. { Copyright (c) 1995, 2001 Borland Software Corporation                   }
  6. {                                                                         }
  7. { *********************************************************************** }
  8.  
  9. unit SysConst;                                   
  10.  
  11. interface
  12.  
  13. resourcestring
  14.   SUnknown = '<unknown>';
  15.   SInvalidInteger = '''%s'' is not a valid integer value';
  16.   SInvalidFloat = '''%s'' is not a valid floating point value';
  17.   SInvalidCurrency = '''%s'' is not a valid currency value';
  18.   SInvalidDate = '''%s'' is not a valid date';
  19.   SInvalidTime = '''%s'' is not a valid time';
  20.   SInvalidDateTime = '''%s'' is not a valid date and time';
  21.   SInvalidDateTimeFloat = '''%g'' is not a valid date and time';
  22.   SInvalidTimeStamp = '''%d.%d'' is not a valid timestamp';
  23.   SInvalidGUID = '''%s'' is not a valid GUID value';
  24.   SInvalidBoolean = '''%s'' is not a valid boolean value';
  25.   STimeEncodeError = 'Invalid argument to time encode';
  26.   SDateEncodeError = 'Invalid argument to date encode';
  27.   SOutOfMemory = 'Out of memory';
  28.   SInOutError = 'I/O error %d';
  29.   SFileNotFound = 'File not found';
  30.   SInvalidFilename = 'Invalid filename';
  31.   STooManyOpenFiles = 'Too many open files';
  32.   SAccessDenied = 'File access denied';
  33.   SEndOfFile = 'Read beyond end of file';
  34.   SDiskFull = 'Disk full';
  35.   SInvalidInput = 'Invalid numeric input';
  36.   SDivByZero = 'Division by zero';
  37.   SRangeError = 'Range check error';
  38.   SIntOverflow = 'Integer overflow';
  39.   SInvalidOp = 'Invalid floating point operation';
  40.   SZeroDivide = 'Floating point division by zero';
  41.   SOverflow = 'Floating point overflow';
  42.   SUnderflow = 'Floating point underflow';
  43.   SInvalidPointer = 'Invalid pointer operation';
  44.   SInvalidCast = 'Invalid class typecast';
  45. {$IFDEF MSWINDOWS}
  46.   SAccessViolation = 'Access violation at address %p. %s of address %p';
  47. {$ENDIF}
  48. {$IFDEF LINUX}
  49.   SAccessViolation = 'Access violation at address %p, accessing address %p';
  50. {$ENDIF}
  51.   SStackOverflow = 'Stack overflow';
  52.   SControlC = 'Control-C hit';
  53.   SQuit = 'Quit key hit';
  54.   SPrivilege = 'Privileged instruction';
  55.   SOperationAborted = 'Operation aborted';
  56.   SException = 'Exception %s in module %s at %p.'#$0A'%s%s';
  57.   SExceptTitle = 'Application Error';
  58. {$IFDEF LINUX}
  59.     SSigactionFailed = 'sigaction call failed';
  60. {$ENDIF}
  61.   SInvalidFormat = 'Format ''%s'' invalid or incompatible with argument';
  62.   SArgumentMissing = 'No argument for format ''%s''';
  63.   SInvalidVarCast = 'Invalid variant type conversion';
  64.   SInvalidVarOp = 'Invalid variant operation';
  65.   SDispatchError = 'Variant method calls not supported';
  66.   SReadAccess = 'Read';
  67.   SWriteAccess = 'Write';
  68.   SResultTooLong = 'Format result longer than 4096 characters';
  69.   SFormatTooLong = 'Format string too long';
  70.   SVarArrayCreate = 'Error creating variant array';
  71.   SVarNotArray = 'Variant is not an array';
  72.   SVarArrayBounds = 'Variant array index out of bounds';
  73.   SVarTypeUnknown = 'Unknown custom variant type ($.4x)';
  74.   SVarTypeOutOfRange = 'Custom variant type ($.4x) is out of range';
  75.   SVarTypeAlreadyUsed = 'Custom variant type (%.4x) already used by %s';
  76.   SVarTypeNotUsable = 'Custom variant type (%.4x) is not usable';
  77.   SVarTypeTooManyCustom = 'Too many custom variants have been registered';
  78.   SVarDataClearRecursing = 'Recursion while doing a VarDataClear';
  79.   SVarDataCopyRecursing = 'Recursion while doing a VarDataCopy';
  80.   SVarDataCopyNoIndRecursing = 'Recursion while doing a VarDataCopyNoInd';
  81.   SVarDataInitRecursing = 'Recursion while doing a VarDataInit';
  82.   SVarDataCastToRecursing = 'Recursion while doing a VarDataCastTo';
  83.   SVarIsEmpty = 'Variant is empty';
  84.   sUnknownFromType = 'Cannot convert from the specified type';
  85.   sUnknownToType = 'Cannot convert to the specified type';
  86.   SExternalException = 'External exception %x';
  87.   SAssertionFailed = 'Assertion failed';
  88.   SIntfCastError = 'Interface not supported';
  89.   SSafecallException = 'Exception in safecall method'; 
  90.   SAssertError = '%s (%s, line %d)';
  91.   SAbstractError = 'Abstract Error';
  92.   SModuleAccessViolation = 'Access violation at address %p in module ''%s''. %s of address %p';
  93.   SCannotReadPackageInfo = 'Cannot access package information for package ''%s''';
  94.   sErrorLoadingPackage = 'Can''t load package %s.'+sLineBreak+'%s';
  95.   SInvalidPackageFile = 'Invalid package file ''%s''';
  96.   SInvalidPackageHandle = 'Invalid package handle';
  97.   SDuplicatePackageUnit = 'Cannot load package ''%s.''  It contains unit ''%s,''' +
  98.     'which is also contained in package ''%s''';
  99.   SOSError = 'System Error.  Code: %d.'+sLineBreak+'%s';
  100.   SUnkOSError = 'A call to an OS function failed';
  101. {$IFDEF MSWINDOWS}
  102.   SWin32Error = 'Win32 Error.  Code: %d.'#10'%s' deprecated; // use SOSError
  103.   SUnkWin32Error = 'A Win32 API function failed' deprecated; // use SUnkOSError
  104. {$ENDIF}
  105.   SNL = 'Application is not licensed to use this feature';
  106.  
  107.   SConvIncompatibleTypes2 = 'Incompatible conversion types [%s, %s]';
  108.   SConvIncompatibleTypes3 = 'Incompatible conversion types [%s, %s, %s]';
  109.   SConvIncompatibleTypes4 = 'Incompatible conversion types [%s - %s, %s - %s]';
  110.   SConvUnknownType = 'Unknown conversion type %s';
  111.   SConvDuplicateType = 'Conversion type (%s) already registered';
  112.   SConvUnknownFamily = 'Unknown conversion family %s';
  113.   SConvDuplicateFamily = 'Conversion family (%s) already registered';
  114.   SConvUnknownDescription = '[%.8x]';
  115.   SConvIllegalType = 'Illegal type';
  116.   SConvIllegalFamily = 'Illegal family';
  117.   SConvFactorZero = '%s has a factor of zero';
  118.  
  119.   SShortMonthNameJan = 'Jan';
  120.   SShortMonthNameFeb = 'Feb';
  121.   SShortMonthNameMar = 'Mar';
  122.   SShortMonthNameApr = 'Apr';
  123.   SShortMonthNameMay = 'May';
  124.   SShortMonthNameJun = 'Jun';
  125.   SShortMonthNameJul = 'Jul';
  126.   SShortMonthNameAug = 'Aug';
  127.   SShortMonthNameSep = 'Sep';
  128.   SShortMonthNameOct = 'Oct';
  129.   SShortMonthNameNov = 'Nov';
  130.   SShortMonthNameDec = 'Dec';
  131.  
  132.   SLongMonthNameJan = 'January';
  133.   SLongMonthNameFeb = 'February';
  134.   SLongMonthNameMar = 'March';
  135.   SLongMonthNameApr = 'April';
  136.   SLongMonthNameMay = 'May';
  137.   SLongMonthNameJun = 'June';
  138.   SLongMonthNameJul = 'July';
  139.   SLongMonthNameAug = 'August';
  140.   SLongMonthNameSep = 'September';
  141.   SLongMonthNameOct = 'October';
  142.   SLongMonthNameNov = 'November';
  143.   SLongMonthNameDec = 'December';
  144.  
  145.   SShortDayNameSun = 'Sun';
  146.   SShortDayNameMon = 'Mon';
  147.   SShortDayNameTue = 'Tue';
  148.   SShortDayNameWed = 'Wed';
  149.   SShortDayNameThu = 'Thu';
  150.   SShortDayNameFri = 'Fri';
  151.   SShortDayNameSat = 'Sat';
  152.  
  153.   SLongDayNameSun = 'Sunday';
  154.   SLongDayNameMon = 'Monday';
  155.   SLongDayNameTue = 'Tuesday';
  156.   SLongDayNameWed = 'Wednesday';
  157.   SLongDayNameThu = 'Thursday';
  158.   SLongDayNameFri = 'Friday';
  159.   SLongDayNameSat = 'Saturday';
  160.  
  161. {$IFDEF LINUX}
  162.   SEraEntries = '';
  163. {$ENDIF}
  164.  
  165.   SCannotCreateDir = 'Unable to create directory';
  166.  
  167. implementation
  168.  
  169. end.
  170.